﻿using System.Collections.Generic;
using PropertyExpression.Common;

namespace LibraryCatalog.Models
{
    public class EditBookModel
    {
        public readonly List<ILibrary> Libraries;
        public readonly Option<IBook> Book;
        public readonly Option<BookRequest> Request;

        public EditBookModel(
            List<ILibrary> libraries,
            Option<IBook> book = new Option<IBook>(),
            Option<BookRequest> request = new Option<BookRequest>())
        {
            Libraries = libraries;
            Book = book;
            Request = request;
        }
    }
}